#coding=utf-8
__author__ = 'liubin'

from flask import render_template
from flask.views import View
from project import app

class IndexView(View):
    methods = ['GET']

    def dispatch_request(self):
        return render_template('indexb.html')

app.add_url_rule('/', view_func=IndexView.as_view('index'))